package com.team.databoard.constant;

import lombok.Getter;

public interface StudentConstant {
    /**
     * 学生性别
     */
    @Getter
    enum Sex {
        Male(0, "男"),
        Female(1, "女");

        private final int code;
        private final String name;

        Sex(int code, String name) {
            this.code = code;
            this.name = name;
        }
    }

    /**
     * 学生省份
     */
    @Getter
    enum Province {
        Beijing(110000, "北京市", "北京"),
        Tianjin(120000, "天津市", "天津"),
        Hebei(130000, "河北省", "河北"),
        Shanxi(140000, "山西省", "山西"),
        Neimenggu(150000, "内蒙古自治区", "内蒙古"),
        Liaoning(210000, "辽宁省", "辽宁"),
        Jilin(220000, "吉林省", "吉林"),
        Heilongjiang(230000, "黑龙江省", "黑龙江"),
        Shanghai(310000, "上海市", "上海"),
        Jiangsu(320000, "江苏省", "江苏"),
        Zhejiang(330000, "浙江省", "浙江"),
        Anhui(340000, "安徽省", "安徽"),
        Fujian(350000, "福建省", "福建"),
        Jiangxi(360000, "江西省", "江西"),
        Shandong(370000, "山东省", "山东"),
        Henan(410000, "河南省", "河南"),
        Hubei(420000, "湖北省", "湖北"),
        Hunan(430000, "湖南省", "湖南"),
        Guangdong(440000, "广东省", "广东"),
        Guangxi(450000, "广西壮族自治区", "广西"),
        Hainan(460000, "海南省", "海南"),
        Chongqing(500000, "重庆市", "重庆"),
        Sichuan(510000, "四川省", "四川"),
        Guizhou(520000, "贵州省", "贵州"),
        Yunnan(530000, "云南省", "云南"),
        Xizang(540000, "西藏自治区", "西藏"),
        Shaanxi(610000, "陕西省", "陕西"),
        Gansu(620000, "甘肃省", "甘肃"),
        Qinghai(630000, "青海省", "青海"),
        Ningxia(640000, "宁夏回族自治区", "宁夏"),
        Xinjiang(650000, "新疆维吾尔自治区", "新疆"),
        Taiwan(710000, "台湾省", "台湾"),
        Hongkong(810000, "香港特别行政区", "香港"),
        Macao(820000, "澳门特别行政区", "澳门");

        private final int code;
        private final String name;
        private final String shortName;

        Province(int code, String name, String shortName) {
            this.code = code;
            this.name = name;
            this.shortName = shortName;
        }
    }


    /**
     * 学生学历
     */
    @Getter
    enum Education {
        Bachelor(0, "学士", new String[]{"本科"}),
        Master(1, "硕士", new String[]{"硕士研究", "研究"}),
        Doctor(2, "博士", new String[]{"博士研究"});

        private final int code;
        private final String name;
        private final String[] alias;

        Education(int code, String name, String[] alias) {
            this.code = code;
            this.name = name;
            this.alias = alias;
        }
    }
}
